> err = PBSetCatInfo( &cipb, FALSE ); /* no error, but no */
> if ( err != noErr ) /* change either */
> /* process error */
> }
You'll probably have to set the "inited" bit in the Finder flags, or else the
Finder will imprint its own idea of what the folder should look like the first
time you open it up.
By the way, I think the following information is accurate for 7.0:
Upper byte Lower byte
---------- ---------
1 = spatial view bit 0 =
(by icon or bit 1 =
small icon) bit 2 =
2 = by name bit 3 =
3 = by date bit 4 =
4 = by size bit 5 = 1 means window is zoomed
5 = by kind bit 6 = 1 means spatial view
6 = by comments is by small icon
7 = by label bit 7 =
8 = by version
The upper byte of frView is zero for some folders (like the Desktop folder). I'm
not sure what that means.
- --
Keith Rollin
Phantom Programmer
Taligent, Inc.
---------------------------
From: mattes@comp.bioz.unibas.ch (Frank Mattes)
Subject: Dave Mark : Macintosh C Programming
Date: 16 Jun 92 12:35:12 GMT
Organization: EMBnet Switzerland [Basel]
In this group I have read about the book from Dave Mark, Macintosh C ProgrammingPrimer, Volume I. Does anybody knows which is the newest editon of this book.
Thanks for your help
Frank
+++++++++++++++++++++++++++
From: davison@living.rutgers.edu (Brian D. Davison)
Date: 16 Jun 92 14:06:42 GMT
Organization: Rutgers Univ., New Brunswick, N.J.
In article <mattes.708698112@biox>, mattes@comp.bioz.unibas.ch (Frank Mattes) writes:
> In this group I have read about the book from Dave Mark, Macintosh C
> ProgrammingPrimer, Volume I. Does anybody knows which is the newest
> editon of this book.
>
> Thanks for your help
>
> Frank
_Macintosh_C_Programming_Primer_, Vol. 1, is now in its second edition.
$26.95 (US), published by Addison Wesley (1992), written by Dave Mark
and Cartwright Reed. ISBN#0-201-60838-3.
A little more technical, but also new, is the second edition of
_Macintosh_Programming_Secrets_, by Scott Knaster and Keith Rollin,
also published by Addison Wesley (1992), at $29.95 (US).
ISBN# 0-201-58134-5.
[I have no relation to either of these books, except as a satisfied
customer. :-)]
- --
Brian D. Davison Department of Computer Science
Rutgers, The State University of New Jersey
davison@paul.rutgers.edu Hill Center, 3rd floor, Busch Campus